package qnb.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import weixinkeji.vip.expand.poi.JWEOffice;

import java.util.Date;

public class Course2 {

    private Integer course1Id;// 课程表头
    private Integer course2Id;//主键
    @JsonFormat(pattern="yyyy-MM-dd",timezone ="PRC")
    @JWEOffice(title = "日期", sort = 0)
    private Date course2Day;
    @JWEOffice(title = "星期", sort = 1)
    private String course2Week;// 星期

    private Integer classroomId;// 外表-教室主键
    @JWEOffice(title = "教室", sort = 2)
    private String classroomName; // 名称

    @JWEOffice(title = "上午课", sort = 3)
    private String course2Morning;// 上午课
    @JWEOffice(title = "下午课", sort = 4)
    private String course2Afternoon;// 下午课
    @JWEOffice(title = "晚自习", sort = 5)
    private String course2Night;// 晚自习

    private Integer teacherId;// 外表-授课老师
    @JWEOffice(title = "教师", sort = 6)
    private String teacherName; // 教师

    @JWEOffice(title = "课时", sort = 7)
    private String course2Time;// 课时

    @JWEOffice(title = "备注", sort = 8)
    private String course2Info;// 备注

    @Override
    public String toString() {
        return "Course2{" +
                "course1Id=" + course1Id +
                ", course2Id=" + course2Id +
                ", course2Day=" + course2Day +
                ", course2Week='" + course2Week + '\'' +
                ", classroomId=" + classroomId +
                ", classroomName='" + classroomName + '\'' +
                ", course2Morning='" + course2Morning + '\'' +
                ", course2Afternoon='" + course2Afternoon + '\'' +
                ", course2Night='" + course2Night + '\'' +
                ", teacherId=" + teacherId +
                ", teacherName='" + teacherName + '\'' +
                ", course2Time='" + course2Time + '\'' +
                ", course2Info='" + course2Info + '\'' +
                '}';
    }

    public Integer getCourse1Id() {
        return course1Id;
    }

    public void setCourse1Id(Integer course1Id) {
        this.course1Id = course1Id;
    }

    public Integer getCourse2Id() {
        return course2Id;
    }

    public void setCourse2Id(Integer course2Id) {
        this.course2Id = course2Id;
    }

    public Date getCourse2Day() {
        return course2Day;
    }

    public void setCourse2Day(Date course2Day) {
        this.course2Day = course2Day;
    }

    public String getCourse2Week() {
        return course2Week;
    }

    public void setCourse2Week(String course2Week) {
        this.course2Week = course2Week;
    }

    public Integer getClassroomId() {
        return classroomId;
    }

    public void setClassroomId(Integer classroomId) {
        this.classroomId = classroomId;
    }

    public String getClassroomName() {
        return classroomName;
    }

    public void setClassroomName(String classroomName) {
        this.classroomName = classroomName;
    }

    public String getCourse2Morning() {
        return course2Morning;
    }

    public void setCourse2Morning(String course2Morning) {
        this.course2Morning = course2Morning;
    }

    public String getCourse2Afternoon() {
        return course2Afternoon;
    }

    public void setCourse2Afternoon(String course2Afternoon) {
        this.course2Afternoon = course2Afternoon;
    }

    public String getCourse2Night() {
        return course2Night;
    }

    public void setCourse2Night(String course2Night) {
        this.course2Night = course2Night;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getCourse2Time() {
        return course2Time;
    }

    public void setCourse2Time(String course2Time) {
        this.course2Time = course2Time;
    }

    public String getCourse2Info() {
        return course2Info;
    }

    public void setCourse2Info(String course2Info) {
        this.course2Info = course2Info;
    }
}
